package com.bauer.base.designpattern.chainofresponsibility.sevletfilterimpl;

/**
 * @Author ：rui.wei
 * @Date ：Created in 16:34 2019/7/8
 * @Description：
 */
public class ServletMain {

    public static void main(String[] args) {

        FilterChain filterChain = new FilterChain();
        filterChain.add(new HtmlFilter()).add(new SqlFilter());
        filterChain.doFilter(new Request(), new Response(), filterChain);
    }
}
